package org.dromara.wmscloud.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import org.dromara.wmscloud.domain.StockInDetail;
import org.dromara.wmscloud.domain.StockInOrder;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 入库单视图对象 stock_in_order
 *
 * @author hou
 * @date 2025-04-17
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = StockInOrder.class)
public class StockInOrderVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long orderId;

    /**
     * 单据号
     */
    @ExcelProperty(value = "单据号")
    private String orderNo;

    /**
     * 单据类型
     */
    @ExcelProperty(value = "单据类型")
    private String orderType;

    /**
     * 单据状态
     */
    @ExcelProperty(value = "单据状态")
    private String orderStatus;

    /**
     * 检验状态
     */
    @ExcelProperty(value = "检验状态")
    private String checkStatus;

    /**
     * 检验员
     */
    @ExcelProperty(value = "检验员")
    private String checkBy;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 入库单详情
     */
    private List<StockInDetailVo> detailList;

}
